﻿namespace Red.Toolkit.Profiler
{
    public enum ProfilerDefinitionType
    {
        Block,
        Signal,
        Counter,
    };

    public class ProfilerDefinition
    {
        private int _ID;
        private string _Name;
        private ProfilerDefinitionType _Type;
        private int _NumParamsStart;
        private int _NumParamsEnd;

        public ProfilerDefinition( int id, string name, ProfilerDefinitionType type, int numStartParams, int numEndParams )
        {
            _ID = id;
            _Name = name;
            _Type = type;
            _NumParamsStart = numStartParams;
            _NumParamsEnd = numEndParams;
        }

        public string Name { get { return _Name; } }
        public int ID { get { return _ID; } }
        public ProfilerDefinitionType Type { get { return _Type; } }
        public int NumParamsStart { get { return _NumParamsStart; } }
        public int NumParamsEnd { get { return _NumParamsEnd; } }
    }
}
